package edu.zut.cs.javaee.manager.checkwork.web.spring.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import edu.zut.cs.javaee.manager.base.web.spring.controller.GenericTreeController;
import edu.zut.cs.javaee.manager.checkwork.domain.CheckWork;
import edu.zut.cs.javaee.manager.checkwork.service.CheckWorkManager;

 

@Controller
@RequestMapping("/checkwork")
public class CheckWorkController extends GenericTreeController<CheckWork, Long, CheckWorkManager> {
          CheckWorkManager checkworkmanager;
          
          @RequestMapping(value = "index.html")
          public String index() {
        	  String result = "/index";
        	  return result;
          }


        
		@Autowired
		public void setCheckworkmanager(CheckWorkManager checkworkmanager) {
			this.checkworkmanager = checkworkmanager;
			this.manager = this.checkworkmanager;
		}
          //
          
}
